@extends('Shop.index')
@section('content')
<section class="rt_wrap content mCustomScrollbar">
 <div class="rt_content">
      <div class="page_title">
       <h2 class="fl">店铺基础设置</h2>
      </div>
     <section> 
     <form action="/shop/dusetting" method="post" enctype="multipart/form-data">
        <ul class="ulColumn2">
         <li>
          <span class="item_name" style="width:120px;">站点名称：</span>
          <input type="text" class="textbox textbox_225" name="nickname" value="{{$data->nickname}}" placeholder="店铺名称..."/>
         </li>
         <li>
          <span class="item_name" style="width:120px;">上传logo：</span>
          <label class="uploadImg">
           <input type="file" name="logo" />
           <span>上传店铺logo</span>
          </label>
         </li>
         <li>
          <span class="item_name" style="width:120px;">店铺描述：</span>
          <input type="text" class="textbox textbox_295" name="content" value="{{$data->content}}"placeholder="店铺描述..."/>
         </li>
         <li>
          <span class="item_name" style="width:120px;">店铺地址：</span>
          <input type="text" class="textbox textbox_295" name="site" value="{{$data->site}}"placeholder="必须填写详细地址..."/>
         </li>
         <li>
          <span class="item_name" style="width:120px;">关闭店铺：</span>
          <label class="single_selection"><input type="radio" name="status" @if( $data->status == '1') checked="checked" @endif value="1"  />否</label>
          <label class="single_selection"><input type="radio"  name="status" @if($data->status == '0') checked="checked" @endif value="0"  />是</label>
         </li>
         <li>
          <span class="item_name" style="width:120px;">关闭店铺的原因：</span>
          <textarea placeholder="关闭店铺的原因" class="textarea" name="cause" value="{{$data->cause}}"style="height:50px;width:640px;"></textarea>
         </li>
         <li>
          {{csrf_field()}}
          <span class="item_name" style="width:120px;"></span>
          <input type="hidden" name="id" value="{{$sid}}">
          <input type="submit" class="link_btn" value="保存"/>
         </li>
        </ul>
      </form>
     </section>
 </div>
</section>
@endsection

@section('js')
<script src="/shopadmin/js/ueditor.config.js"></script>
<script src="/shopadmin/js/ueditor.all.min.js"> </script>
@endsection 